body {
  background: #eee;
  font: 16px/1.4 @font-family;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: @font-family;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  -webkit-transition: -webkit-transform .5s, text-shadow .5s, opacity .5s, background-color .5s, color .5s, border-radius .5s;
  transition: transform .5s, text-shadow .5s, opacity .5s, background-color .5s, color .5s, border-radius .5s;

  &:hover,
  &:focus {
    border-radius: .5em;
    background-color: @color-link-hover;
    color: @color-light-text;
    text-decoration: none;
    text-shadow: 0 0 .1em fade(@color-light-text, 60%);
  }
}

.outer {
  zoom: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
  .clearfix();
}

.inner {
  display: inline;
  float: left;
  width: 98%;
  margin: 0 1%;
}

#container {
  position: relative;
}

#wrap {
  position: absolute;
  width: 100%;
  .transition-transform(.3s ease);
  z-index: 1;
  background: #eee url('../image/bg.png') repeat;
}

.browsehappy {
  margin: 0;
}

// Rocket back to top
#rocket-to-top {
  cursor: default;
  display: none;
  margin: -125px 0 0;
  overflow: hidden;
  padding: 0;
  position: fixed;
  right: 0;
  top: 75%;
  z-index: 11;
  .size(149px, 188px);

  &,
  .onhover,
  .anim.fire {
    background: url("../image/rocketup.png") no-repeat 0 -18px;
  }

  .onhover,
  .anim {
    left: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    .size(149px, 188px);
  }

  .onhover {
    background-position: -149px -18px;
    opacity: 0;
    .transition(opacity 1s);
    z-index: 1;
  }

  .anim {
    cursor: pointer;
    z-index: 2;

    &.fire {
      .animation(rocket-fire .2s steps(4, end) infinite);
    }
  }

  &:hover {
    .onhover {
      opacity: 1;
    }
  }

  &.shot {
    .transition-transform(1.5s ease-in);
    .translate3d(0, -2000px, 0);
  }

  @media (max-width: @screen-phone) {
    display: none !important;
    height: 0;

    .onhover,
    .anim {
      display: none !important;
    }
  }
}

.rocket-fire() {
  0% {
    background-position: -298px -18px;
  }

  100% {
    background-position: -892px -18px;
  }
}

@-webkit-keyframes rocket-fire {
  .rocket-fire();
}

@keyframes rocket-fire {
  .rocket-fire();
}

.ujian-hook {
  a[href="http://www.ujian.cc/index2"] {
    display: none !important;
  }
}

#ujian-touch {
  display: none;
}

// jiathis bottom
.jiathis_style {
  > div {
    border: 0 !important;
  }

  .jiadiv_01 {
    border-radius: 8px;
    .border-solid !important;
  }

  .centerBottom {
    display: none !important;
  }
}

.ckepopBottom {
  display: none;
}

#jiathis_streak_share {
  height: 58px;
  padding: 8px 4px;
  .box-shadow(1px 2px .5em @color-shadow);
  .border-solid;
}

.bdsharebuttonbox {
  float: left;
  overflow: hidden;
  margin: 0 0 8px;
  max-width: 100%;
  height: 36px;

  a:hover {
    background-color: @bg-dark-fade;
  }

  @media (min-width: @screen-phone) {
    float: right;
    margin: -10px;
    max-width: 50%;
  }
}

.bdshare_dialog_box {
  .size(310px, 296px) !important;
}

.bdselect_share_bg {
  display: none;
  visibility: hidden;
}

.bdselect_share_box {
  border-radius: 6px;
  overflow: hidden;
  max-width: 500px !important;
  .box-shadow(0 1px 6px @color-shadow) !important;
  .border-solid !important;

  .bdselect_share_head,
  .bdselect_share_content {
    .bg-light;
  }

  .bdselect_share_list {
    padding: 8px;
    background: none;
  }
}

.sr-bdimgshare.sr-bdimgshare-24 {
  overflow: visible;

  .bdimgshare-bg {
    background: none;
  }

  .bdimgshare-content {
    padding: 2px;
    height: 42px;
    max-width: 100%;
    background: @bg-light-fade;
    border-radius: .5em;
    .border-solid;
    .box-shadow(0 1px 6px @color-shadow);
  }
}

// stat
#stat-wrap {
  position: absolute;
  bottom: 0;
  z-index: -9;
}
